package net.viralpatel.contact.dao;

import java.util.List;

import javax.sql.DataSource;

import net.viralpatel.contact.form.Contact;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

@Repository
public class JdbcDaoImpl implements JdbcDao {
	@Autowired
	private DataSource dataSource;
	private JdbcTemplate jdbcTemplate;
	 
	@Override
	public List<Contact> getContacts() {
		jdbcTemplate = new JdbcTemplate(dataSource);
		return null;
	}

}
